package org.rcloud.io.mapper;

import org.rcloud.io.model.Collect;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface CollectMapper {
    int deleteByPrimaryKey(Collect id);

    int insert(Collect record);

    int insertSelective(Collect record);

    Collect selectByPrimaryKey(Collect id);

    int updateByPrimaryKeySelective(Collect record);

    int updateByPrimaryKey(Collect record);

    List<Collect> selectByOther(Map record);

    List<Collect> selectByCollectEid(Collect userid);

    List<Collect> selectByLike(Collect eid);
//    Integer selectByLike(Collect eid);
}
